	var beg;
	var bj;
	var st;
	var FS=0;
	var num=0;
	var bgt;
	var DJ;
	var diji
	var djspeed1;
	var djspeed2;
	var es;
	
	
	function LD1(){
		djspeed1=1500;
		djspeed2=100;
		es=2000;
		beg=document.getElementById("begin");
		bj=document.getElementById("beijin");
		st=document.getElementById("res");
		Fenshu=document.getElementById("fenshu");
		st.style.display="none";
		Fenshu.style.display="none";
		beg.style.display="none";
		bj.style.display="none";
		old1.style.display="none";
		old2.style.display="none";
		old3.style.display="none";
		dom();
		
		}
	function LD2(){
		djspeed1=500;
		djspeed2=50;
		es=2000;
		beg=document.getElementById("begin");
		bj=document.getElementById("beijin");
		st=document.getElementById("res");
		Fenshu=document.getElementById("fenshu");
		st.style.display="none";
		Fenshu.style.display="none";
		beg.style.display="none";
		bj.style.display="none";
		old1.style.display="none";
		old2.style.display="none";
		old3.style.display="none";
		dom();
		}
	function LD3(){
		djspeed1=200;
		djspeed2=15;
		es=1000;
		beg=document.getElementById("begin");
		bj=document.getElementById("beijin");
		st=document.getElementById("res");
		Fenshu=document.getElementById("fenshu");
		st.style.display="none";
		Fenshu.style.display="none";
		beg.style.display="none";
		bj.style.display="none";
		old1.style.display="none";
		old2.style.display="none";
		old3.style.display="none";	
		dom();
		}

	function star(){
		old1=document.getElementById("ld1");
		old2=document.getElementById("ld2");
		old3=document.getElementById("ld3");
		old1.style.display="block";
		old2.style.display="block";
		old3.style.display="block";	
		bgsound();	
		}
		
		
		
		
		
		
		
		function bgmove(){
		clearInterval(bgt);
		bgt = setInterval(function () {
		    if (FS > 10000) { DJ = "你是无聊到什么程度啦？" }
		    else if (FS < 10000 && FS > 7000) { DJ = "你离屌丝还差一步之遥" }
		    else if (FS < 7000 && FS > 3000) { DJ = "不好好学习，玩什么游戏" }
		    else if (FS < 3000 && FS > 2000) { DJ = "呀呦！不错哦！" }
		    else { DJ = "你太菜了" }

		    document.getElementById("fen").innerHTML = "分数:" + FS;
		    document.getElementById("fenshu").innerHTML = "分数:" + '<br>' + FS + '<br>' + DJ;

		    if (obg.y < 0) { obg.y = obg.y + 5; }
		    else { obg.y = -1520 }
		}, 30)
		}